import request from "@/utils/request";

export function getPlanFindById(data) {
  return request({
    url: "/plan/findById",
    method: "get",
    params: data,
  });
}
export function postExtractAdd(data) {
  return request({
    url: "/extract/add",
    method: "post",
    data,
  });
}

export function getExtractList(data) {
  return request({
    url: "/extract/list",
    method: "post",
    data,
  });
}

export function postExtractDel(data) {
  return request({
    url: "/extract/delete",
    method: "delete",
    data,
  });
}

export function getExtractFindById(data) {
  return request({
    url: "/extract/findById",
    method: "get",
    params: data,
  });
}
